home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 4.iso / dist / fw_xpat2.idb / usr / freeware / catman / u_man / cat6 / xpat2.Z / xpat2
Text File  |  2002-01-08  |  13KB  |  397 lines

  1.  
  2.  
  3.  
  4. XPAT2(6)                         XPAT2(6)
  5.  
  6.  
  7. NNAAMMEE
  8.        xpat2 - generic patience    game for X11
  9.  
  10. SSYYNNOOPPSSIISS
  11.        xxppaatt22 [ _o_p_t_i_o_n_s ] [ _s_e_e_d    ] [ _s_a_v_e_d _g_a_m_e ]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        _x_p_a_t_2  is  the  successor of xxppaatt, a generic patience game
  15.        which can be used  with    different  rule     sets.     It  does
  16.        understand  the    rules  of  the well-known _S_p_i_d_e_r game, as
  17.        well as _K_l_o_n_d_i_k_e    and others.  It    features a flexible  lay
  18.        out which responds to window resize commands and    possibil
  19.        ities to    customize the existing rules.  _x_p_a_t_2 has either    a
  20.        bitmap-based  card  drawing routine or a    pixmap based rou
  21.        tine (selectable    at compile time).  With    the pixmap  based
  22.        drawing routine,    antialiased colour images of the rank and
  23.        suit symbols are    supplied.  The    bitmap    card  images  are
  24.        black  and  red by default, but users can supply    images of
  25.        complete    colour cards in    XPM format.
  26.  
  27.        _x_p_a_t_2 may be compiled with the Athena widget set     (or  its
  28.        nicer  replacement, the Xaw3d widget set), or with a stan
  29.        dard Xlib interface. The    command     line  parameters  and    X
  30.        resource     names of these    versions differ. This manual page
  31.        describes only the Athena widget     version,  for    the  Xlib
  32.        options please refer to the _x_p_a_t    manual page.
  33.  
  34.  
  35. RRUULLEE CCUUSSTTOOMMIIZZAATTIIOONN OOPPTTIIOONNSS
  36.        --rruulleess _r_u_l_e _n_a_m_e
  37.        (Resource: TTaabblleeaauu..rruulleess)
  38.  
  39.        This     option     specifies the initial rule set    for _x_p_a_t.
  40.        Valid  rule    names  are   GGyyppssyy,   SSppiiddeerr,    FFrreeeeCCeellll,
  41.        KKlloonnddiikkee, and SSeeaahhaavveenn, MMoonnttee CCaarrlloo,    CCaallccuullaattiioonn, CCaann
  42.        ffiieelldd, BBaakkeerr''ss DDoozzeenn, and others.  Supply  an  invalid
  43.        rule    name to    see a complete listing.
  44.  
  45.        The    initial    rule set may also be given by the name of
  46.        the executable (capitalisation is important). A prede
  47.        fined  rule    set  may  be  customized by the    following
  48.        options, but    not all    options    apply to every rule  set.
  49.  
  50.        --sslloottss _s_l_o_t_s
  51.        (Resource: TTaabblleeaauu..sslloottss)
  52.  
  53.        Use a different number of slots.
  54.  
  55.        --ttmmppss _t_m_p_s
  56.        (Resource: TTaabblleeaauu..ttmmppss)
  57.  
  58.        Use a different number of temporary storage places.
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Handmade            June 1994                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XPAT2(6)                         XPAT2(6)
  71.  
  72.  
  73.        --ddeecckkss _d_e_c_k_s
  74.        (Resource: TTaabblleeaauu..ddeecckkss)
  75.  
  76.        Use a different number of decks. Every deck has a full
  77.        set of 52 cards.  This option does also set the number
  78.        of  stacks.    (To  4    times  the number of decks, natu
  79.        rally.)
  80.  
  81.        --ffaacceeddoowwnn _n_u_m_b_e_r
  82.        (Resource: TTaabblleeaauu..ffaacceeddoowwnn)
  83.  
  84.        Specifies the number    of cards per slot which    are  ini
  85.        tially dealt    face-down (i.e.    invisible).
  86.  
  87.        --ffaacceeuupp _n_u_m_b_e_r
  88.        (Resource: TTaabblleeaauu..ffaacceeuupp)
  89.  
  90.        Specifies  the number of cards per slot which are ini
  91.        tially dealt    face-up.
  92.  
  93.        --jjookkeerrss _n_u_m_b_e_r
  94.        (Resource: TTaabblleeaauu..jjookkeerrss)
  95.  
  96.        Specifies the number    of jokers in the game (increasing
  97.        the    number    of  cards).  With jokers, you have to put
  98.        all ordinary    cards onto the stacks and keep the jokers
  99.        on the slots.
  100.  
  101.        --rreellaaxxeedd    _n_u_m_b_e_r
  102.        --fflliippss   _n_u_m_b_e_r   --ttuurrnn   _n_u_m_b_e_r   --rroottaattiioonnss   _n_u_m_b_e_r
  103.        (Resource: TTaabblleeaauu..rreellaaxxeedd to TTaabblleeaauu..rroottaattiioonnss)
  104.  
  105.        Defines game    specific customisation parameters.
  106.  
  107.        --rrnngg _n_u_m_b_e_r
  108.        (Resource: TTaabblleeaauu..rrnngg)
  109.  
  110.        This    option affects the random number generator. rng    0
  111.        (used  up  to version 1.03 of xpat2)    has been found to
  112.        generate not    uniformly distributed permutations.   You
  113.        may    activate it to be able to replay old saved games.
  114.        The default is rng 1.
  115.  
  116.  
  117.  
  118. GGRRAAPPHHIICC    OOPPTTIIOONNSS
  119.        All standard X toolkit parameters may be    given, such as
  120.  
  121.        --ddiissppllaayy    _d_i_s_p_l_a_y
  122.        Specifies on    which display to run.
  123.  
  124.        --ggeeoommeettrryy _g_e_o_m_e_t_r_y
  125.        (Resource: ggeeoommeettrryy)    Specifies the initial geometry.
  126.  
  127.  
  128.  
  129.  
  130. Handmade            June 1994                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XPAT2(6)                         XPAT2(6)
  137.  
  138.  
  139.        Other options are:
  140.  
  141.        --ccaarrddss _c_a_r_d_s_e_t
  142.        (Resource: TTaabblleeaauu..ccaarrddss)
  143.  
  144.        _c_a_r_d_s_e_t is the filename of an external bitmap card set
  145.        which  will    be  used instead of the    built-in cardset.
  146.        There are two card sets, namely   ssmmaallll  and      ffrreenncchh.
  147.        You can also    give the full pathname of a cardset here.
  148.  
  149.        --xxppmmddiirr _x_p_m_d_i_r
  150.        (Resource: TTaabblleeaauu..xxppmmddiirr)
  151.  
  152.        Tells _x_p_a_t_2 to search _x_p_m_d_i_r    for  colour  replacements
  153.        of  the  card  images.  The filenames searched for are
  154.        JJookkeerr..xxppmm and _R_a_n_k_._S_u_i_t..xxppmm,    where _R_a_n_k is one of  TTwwoo
  155.        to TTeenn, or one of JJaacckk,, QQuueeeenn,, KKiinngg,,    AAccee.  The display
  156.        must    be capable of displaying all images at    the  same
  157.        time.   For    a  256-colour  display,     no more than 128
  158.        colours should be used for all card    images    together.
  159.        An  additional  file,  CCaarrddbbaacckk..xxppmm,    may give you nice
  160.        cardbacks.
  161.  
  162.        If the directory name _x_p_m_d_i_r    does not start with a dot
  163.        or  a  slash,  it  is interpreted as    a subdirectory of
  164.        //uussrr//ggaammeess//lliibb//xxppaatt.
  165.  
  166.        --xxppmmccllss _x_p_m_c_l_s
  167.        (Resource: TTaabblleeaauu..xxppmmccllss)
  168.  
  169.        Tells _x_p_a_t_2 to allow    using colours of the given close
  170.        ness     when  allocation of the real colour fails during
  171.        the reading of an xpm file.    This option is useful  on
  172.        8-bit  X-servers  when  many    colours    are already allo
  173.        cated by other applications (typically  when     using    a
  174.        KDE desktop).
  175.  
  176.        --ttbb _c_o_l_o_r
  177.        (Resource: TTaabblleeaauu..bbaacckkggrroouunndd)
  178.  
  179.        Sets     the  background  color     to _c_o_l_o_r. The default is
  180.        LLiigghhttSSllaatteeGGrreeyy.
  181.  
  182.        --ccbb _c_o_l_o_r
  183.        (Resource: TTaabblleeaauu..ccaarrddbbaacckkCCoolloorr)
  184.  
  185.        Sets    the background color of    the cards to  _c_o_l_o_r.  The
  186.        default  is    SSllaatteeGGrreeyy.  This  option is not    in effect
  187.        when    an XPM replacement for the cardback is used.
  188.  
  189.        --mmaarrkkwwiiddtthh _w_i_d_t_h
  190.        (Resource: TTaabblleeaauu..mmaarrkkWWiiddtthh)
  191.  
  192.        Sets     the  width  of     the  dashed  frame  which  marks
  193.  
  194.  
  195.  
  196. Handmade            June 1994                3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. XPAT2(6)                         XPAT2(6)
  203.  
  204.  
  205.        selected cards.  If this width is at    least half of the
  206.        card    width, marked cards will be shaded.  The  default
  207.        is to shade the cards.
  208.  
  209.        --mmaarrkkccoolloorr _c_o_l_o_r
  210.        (Resource: mmaarrkkCCoolloorr)
  211.  
  212.        Sets    the color of the marking frame.
  213.  
  214.        --ssoouunndd,, --nnoossoouunndd
  215.        (Resource: SSoouunndd..ssttaattee)
  216.  
  217.        Enables or Disables sound.
  218.  
  219.  
  220. NNAATTIIVVEE LLAANNGGUUAAGGEE    SSUUPPPPOORRTT
  221.        xxppaatt22 has simple    support    for different languages. All mes
  222.        sages which appear in the X11 window may    be overloaded  by
  223.        files,  as  well    as the key bindings.  The typical support
  224.        consists    of an application-defaults file, a message  file,
  225.        and a keyboard file. Possibly translated    online-help files
  226.        are also    there.    To  select  a  different  language,  call
  227.        xxppaatt22  after  setting the environment variable LLAANNGG to the
  228.        desired value.  Some ISO3166 language codes will    be mapped
  229.        to  their  correspondig xpat2 directory names.  Currently,
  230.        italian and german versions are available,  and    fragments
  231.        of  a  french  and  russian  version.  The russian version
  232.        requires    a special cyrillic font, ssqq0011.    The  bdf-file  is
  233.        distributed with    xxppaatt22, you have    to convert it into a for
  234.        mat supported by    your X-server (pcf, snf, ...)
  235.  
  236.  
  237. FFIILLEESS
  238.        (Directories may    differ on  your     system,  especially  the
  239.        library subdirectory
  240.     may     be     //uussrr//ggaammeess//lliibb//xxppaatt      instead      of
  241.        //uussrr//lliibb//ggaammeess//xxppaatt.)
  242.  
  243.     //uussrr//ggaammeess//xxppaatt22
  244.     //vvaarr//lliibb//ggaammeess//xxppaatt22//xxppaatt..lloogg
  245.     //uussrr//ddoocc//ccooppyyrriigghhtt//xxppaatt22
  246.     //uussrr//lliibb//ggaammeess//xxppaatt//ssmmaallll..ccaarrddss
  247.     //uussrr//lliibb//ggaammeess//xxppaatt//ffrreenncchh..ccaarrddss
  248.     //uussrr//lliibb//ggaammeess//xxppaatt//aauuddiioo//ssuucccceessss..aauu
  249.     //uussrr//lliibb//ggaammeess//xxppaatt//aauuddiioo//ggiivveeuupp..aauu
  250.     //uussrr//lliibb//ggaammeess//xxppaatt//aauuddiioo//ggooooddbbyyee..aauu
  251.     //uussrr//lliibb//ggaammeess//xxppaatt//aauuddiioo//ccaannnnoottssaavvee..aauu
  252.     //uussrr//lliibb//ggaammeess//xxppaatt//hheellpp..**
  253.     //uussrr//lliibb//ggaammeess//xxppaatt//hhllpp**
  254.  
  255.        and a number of subdirs of //uussrr//lliibb//ggaammeess//xxppaatt, containing
  256.        sets of colour cards.
  257.  
  258.  
  259.  
  260.  
  261.  
  262. Handmade            June 1994                4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. XPAT2(6)                         XPAT2(6)
  269.  
  270.  
  271. DDIIAAGGNNOOSSTTIICCSS
  272.        Almost  none. (Type 'vv' to see the version number. This is
  273.        the man-page of xpat2 version 1.06, using Athena     Widgets.
  274.        The  game  may  behave  somewhat     different when    used with
  275.        another widget set.)
  276.  
  277.  
  278. BBUUGGSS
  279.        Correct cheat counting is not implemented in all    rules.
  280.  
  281.        Only a few rule customisations are checked and meaningful.
  282.  
  283.        The  Motif/Lesstif and Xview interfaces doesn't work reli
  284.        able. Any volunteers?
  285.  
  286.        xxppaatt22 uses a lot    of colours when    compiled with the  module
  287.        XX--ggffxx22  and  may     therefore  fail  to start if you have an
  288.        8-bit or    monochrome display. In    this  case,  compile  the
  289.        game  using  the     graphics  loader  XX--ggffxx11, which uses the
  290.        original    card images from ssppiiddeerr    or start the  game  using
  291.        the  option  --ccaarrddss  ffrreenncchh,  which  uses  monochrome card
  292.        graphics    from the file ffrreenncchh..ccaarrddss.   On  8-bit     displays
  293.        you can also experiment with the    --xxppmmccllss    option.
  294.  
  295.        There  is a problem with    X-servers which    are short on mem
  296.        ory. In this case, some parts of    the xpat2 window  may  be
  297.        left blank after    a resize event.     You have to hit <ctrl-L>
  298.        to get the window redrawn correctly.
  299.  
  300.        Please  mail  bug  reports  to    MMiicchhaaeell..BBiisscchhooffff@@ggmmxx..nneett.
  301.        Fixes are especially welcome.
  302.  
  303. SSEEEE AALLSSOO
  304.        xxppaatt((66xx)), ssppiiddeerr((11)), xxssooll((11))
  305.  
  306.  
  307. AAUUTTHHOORRSS
  308.        Heiko Eissfeldt and Michael Bischoff
  309.  
  310.  
  311. CCOOPPYYRRIIGGHHTT
  312.        Copyright (c) 1994 by Heiko Eissfeldt and Michael Bischoff
  313.        (hheeiikkoo@@ccoolloossssuuss..eessccaappee..ddee and mmbbii@@mmoo..mmaatthh..nnaatt..ttuu--bbss..ddee)
  314.  
  315.        Copyright (c) 1990 by  David  Lemke  &  Network    Computing
  316.        Devices,    Inc.
  317.        (lleemmkkee@@nnccdd..ccoomm)
  318.  
  319.        Copyright 1990 Heather Rose and Sun Microsystems, Inc.
  320.  
  321.        Copyright  (c) 1989, Donald R. Woods and    Sun Microsystems,
  322.        Inc.
  323.  
  324.  
  325.  
  326.  
  327.  
  328. Handmade            June 1994                5
  329.  
  330.  
  331.  
  332.  
  333.  
  334. XPAT2(6)                         XPAT2(6)
  335.  
  336.  
  337.        Permission to use, copy,    modify,    and distribute this soft
  338.        ware and    its documentation for any purpose and without fee
  339.        is hereby  granted,  provided  that  the     above    copyright
  340.        notice  appear  in all copies and that both that    copyright
  341.        notice and this permission  notice  appear  in  supporting
  342.        documentation.
  343.  
  344.        xxppaatt  and  xxppaatt22    were developed under Linux, the    free UNIX
  345.        for the IBM-PC and compatibles. xxppaatt is based on    the  game
  346.        ssppiiddeerr.    All new    code which is not covered by ssppiiddeerr copy
  347.        rights is distributed by    terms of the GNU  General  public
  348.        license (GNU Copyleft).
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Handmade            June 1994                6
  395.  
  396.  
  397.